473,418 Members | 2,052 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,418 software developers and data experts.

Enlarge and shrink text

16
Hi,

One can use the scrollbutton at the mouse + Ctrl button to enlarge and shrink text on a web page. This works fine for my pages in Firefox but not IE. Is there something I need to do to make it work in IE?
Sep 18 '07 #1
4 9200
Death Slaught
1,137 1GB
Hi,

One can use the scrollbutton at the mouse + Ctrl button to enlarge and shrink text on a web page. This works fine for my pages in Firefox but not IE. Is there something I need to do to make it work in IE?
Post some/all of your code so we can search it for possible errors.

Thanks, Death
Sep 18 '07 #2
Soup
5
Hi,

One can use the scrollbutton at the mouse + Ctrl button to enlarge and shrink text on a web page. This works fine for my pages in Firefox but not IE. Is there something I need to do to make it work in IE?
If your font size is specified in pixels, you cannot scroll the size in IE6, though you can in Firefox, IE7, and Safari, as you mentioned.

IE6 does not support resizing text if it's in pixels. If you really want IE6 users to have that functionality (and I wouldn't care), change your font size to another unit, like ems or pts. But I wouldn't recommend that either.

With IE6 on its way out, this will be less of a problem.
Sep 18 '07 #3
Anette
16
If your font size is specified in pixels, you cannot scroll the size in IE6, though you can in Firefox, IE7, and Safari, as you mentioned.

IE6 does not support resizing text if it's in pixels. If you really want IE6 users to have that functionality (and I wouldn't care), change your font size to another unit, like ems or pts. But I wouldn't recommend that either.

With IE6 on its way out, this will be less of a problem.
Ok. Another IE problem. Thanks for your info!

Just curious - why isn't it a good idea to change font size to another unit, like ems or pts. ?
Sep 19 '07 #4
Soup
5
Actually, it's alright, and many developers would have no problem sizing in ems and may do it by default.

But pixels guarantee, to a better extent than other units, that the size of the font you see is what your visitors see, because all pixels are the same. Other units rely on sometimes complicated rendering models. For instance, do some research on sizing by ems and you will discover a number of different methods, like setting a percentage on body and sizing down from there.

With pixels, you can set it and forget it, and most modern browsers will allow the scrolling resize if it's too small or large. With IE6 being the crapper it's always been, talk of using other units came into style. But with IE7 beginning to overtake it, I'm betting the trend will go back to the much easier, and now equally fluid, pixel. And thank goodness.
Sep 19 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: SP | last post by:
I've production sql server 7 sp3 on windows NT. I had a 8GB data file of which 5GB were used and 3GB were unused. I wanted to take back the unused 3GB. So I did the following with EM GUI: 1. I...
5
by: BashiraInTrouble | last post by:
Hi Friends, I have tried almost everything but I cant seem to shrink the transaction log. Executing DBCC SQLPERF(LOGSPACE) gives me this info: Database Log Size (MB) Log Space Used (%) ...
1
by: chris | last post by:
Hi, I need to add a text or image link which when click on will enlarge the text on a web page to ither large or largest. How can I do this, if its possible. Chris
0
by: Ann | last post by:
I have an Access 2000 database with 4 memo fields in it named memo1 memo2 memo3 and memo4. Some fields have data in them and some don't. If I create a report and put the 4 fields (with no labels)...
1
by: dpodkuik | last post by:
Hi, I have a problem where one text box has a paragraph of text in it and for some reason when the report is ran the first sentence in that box stays on page 1 and the rest goes to page 2 leave...
4
by: Gary Bond | last post by:
Hi All, Can anybody point me to some 'how-to' documentation, tutorials, etc as to how to write a shrink/protect wrapper for .Net exes/dlls, (like the Shrinkwrap product for instance). I have...
11
by: Edson Peacock | last post by:
I have a report with sub reports, one of the subreports have 12 text boxes that are 2" high and I want them all to grow if one goes to 3" high. If anyone has any suggestions they are very much...
3
by: Galka | last post by:
Hello Environment: Windows XP, MS Access 2003. I'd like - in a report - to save space , when there is no company data. When there is, I print out company name, address, telephone number and...
6
by: Major Drake | last post by:
Windows 2003 64 bit sp2 + SQL Server std 32 bit sp2 compability mode 90, recovery model simple. I have about 40 Gb database where is about 98% free space (I deleted data from tables). dbcc...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.